Fix issue with readNumber