connection origin check fix, sequalize test