Fixed a bug on the virtualiser