Fixed a bug where edit and delete showed with nil user