Fixed startup on ios safari