fixed for plugins