Fixing error with setting dataset argument.