clean up home template