Fix entity record can not display bug