bug fix - negative depth works...