fix base template rightside bug