fix bug, cropping up with strange passwords