fix sql heper file
using remote db for convenience