fix bug when only have pos(neg) numbers