solving problems with registration