fixed bug in dependency check, cosmetic changes