fixed checkbox bug for plugins