mobile template fix