update to fix the conditional for other plugins