resolve depedency