fixed to work with mobile better