move templates to the right place