fixing mobile template