fixing password bug