Fix negative numbers