Fix sql source embedded