Solved registration error