fixed missing dependency and failed integration test