added tracing to detect problem