remove console output when registry key not found