ensure the remote template is properly loaded