fix make check errors