fix default being used when value falsey