Fix bug mobile detect