fix number? function bug