Fixes in local depth