process properly the arguments with arrays