fix non-pre/post events for remote sql dbs