Solve bug with negatives