template references are still acting up