parse settings