fixed error with mobile