fixed some issues with the settings form