fixed mobile detect path error