replaces unnecceray dependencies