Fix dependencies when no dependency required