Corrected error codes
Removing duplicates