Fixed check if plugin is installed