modify source files to pass eecheck