Fixed registration error