fixing has bug; fixed get bug; both had problems with falsy values