fixed issue with registration pages