fixed neg number bug