add resolve template