minor fix for reseting password