Corrected import of errors