macro hooks: move post_open call in front of -do macro