Fix: minor bug in getNumber fixed.