handle potentially var <0