fixes #1971

I've tested copying templates and hosts and both work