Fixed program loading issue