fix broken blocks