fix broken engineServer constructor