Fix on_msg for settings