support many statments in a single file, bugfix.