remove trial file, fix ref remover