fix for registration view