moving compress template tag to avoid issue with variables