resolve command