fix for issue 204 settings being undefined