this is causing errors on mobile devices for some reason