fix in plugin ordering