fix bugs in executable file.