debug for wj