Bugfix: parameters with x-y were lead to values x-y+1