little fixes
implemented set_setting not completely working yet