add resolve type command