fixed neg number issue