fix the crash invoked by deprecated `create` function of `Label`