corrected css error in flex