removing improper dependencies