fixed an intermittent resolve bug
2.0.1