attempt to fix error when assigning plugin to variable