Fix password too short bug