Deleting photo bugs sorted out