Fixes incorrect template destination