fix mobile template redirection;