fixed mobile redirect issue