Probably fixed the bug with depth