fix too long ref text