fixed bug with handling numerals