pwd length fixes