remove unused template and domain from views