further dependency handling fixes, remove duplicat DEPEND array