Fixes warnings on settings form