prefect and depth limit