fix for previous commit, forgot to remove the actual xmirror code