[birdsplugin] fixed some warnings