fixed logic for errors
favicon