fix bracket by on_join