removed api legacy support