reset broken build flag when reverting