photos can now be removed successfully