remove old code dependancy