bugfix on home template