fix for firefox 34 flex issue