Fix depth limit