Missing closing of plugin