set string args as value of -a, and fix char array length bug