Fixed agent constructor parameters
Merge pull request #1195 from atsareg/fix_tms

Fixed agent constructor parameters