fixes #332 - fix emulation for WS project