fixed display of ref & id