fixes bug in dependency definition