fixed entity title in flash messages