removing non exisiting dependencies