global db connection
fix spool
core