null password bug fixed