small fix in displaying deleted image