remove unnecessary photo versions