Fixed fromNumber error