Fix bug when at loading time in Linux