depth not working