fix some filters and add config option for 'appear on statement as'