fix pre/post blocks