fix for pwd reset issue