IF block repaird