Fixed errors detected by travis

- Removed unused parameters.
- Fixed command line typo.