fix bug on not recognizing source code