type setting check