Fixed for safari and mobile chrome