fixed bugs in mobile devices