removed errors from register