allow to customize resolve function
3.3.0