fixed plugin class