sync plugin name to strings, remove magic numbers