little fix in command resolver