fix create tags crash if no callback is passed