Fixed shameful errors.