fix flex on safari + mobile safari
build for iOS