Fixed negative x issue.