get the value correctly so that we aren't getting nil => 0