Fixed flash building bug