fix create_status_bar hook