fix some warning