fixes #2679 pie get error when the lable it too long