load sqlengine only if required