fix object used as string in label