Fixing equals operator in plugin