removing some excess html stuff from templates.