fixed issue with negatives