function settings validation