resolve external dependency problem