fix a bug that can't compile