add log
fix query leak