Fix plugin check