remove return from registry file