simplified a source code, recalled to correct the header file