fixed routing bug because of templates being forms