Fixed crazy errors.