* added namespace checking to plugin