fixes for the create_label callback