fixed parse for negative numbers