move debug info to stderr