BUG: registration error