cleanup on dependencies