fix potential compiler error.