commander fixes

 - Duplicate publishing removed
 - Unused "counter" field removed

Should be tested before merging.