support to using engine in server-side