fix blank password bug.