depth bug fixed.