fix bug in mobile chrome