change dependencies check for a more close control