fix some warnings;