fixed safari flexbox bug