minor fix in checkdependencies