fix bug in mobile