fix #2, #3 when opening settings tab