fixed issue with settings loading