adjusted plugin name validation