Fix/cmd post

This fixes a parsing problem introduced in PR #1991