fix for password recovery