fix missing return statement in command section. fixes Issue #554