Fixed missing trailing \ for InvalidArgumentException