bug resolved in registeration: error