some minor fix

@lxyu