fix some warnings (#111)