fixed texture dependency issue