correcting dependancy