change debug mod + fix charfield