Fix settings

Added missing methods and syntax errors