added debugs and trimmedArgs data validity