fix handling of commands with args; fix rdns