fix clear dependencies