adapted consumer to plugin hanges