fixed num_chars valid type, added missing space symbol