fix real machine bug