fix sudo command because of job control issue