fix commands involving passwords didn't always work