added createHMD
bugfix