fix some too pemissive valus for strign and boolean