depth bugfixing 2