fixes about restriction for letters and numbers