fixed bug in handling of non-command methods