fixed connection to XS_Engine