cleanup encoder parameters
minor update
Merge pull request #341 from ruil2/cleanup

cleanup encoder parameters--- review request #108