if -1 is used in limit and skip normalize it to zero