depth bugfixing

.