some mobile template fixes