Correction of a bug when entering number or an apostrophe