use dependecies, fixed #issue62