Bug fixed for loading hex file.