revise options
added stack resolver