add clear purchases . Fixed #5