Fixed a bug that prevent the executable from working