fix bug for load elf
enter PM mode