fix bug in dependency list