Fixed settings parse bug

Fix #32