fixed issue with negative values duing a paste