Fix bug that imped the application to run under VM