Fix plugins unchecked null