write to err to help debugging