added fetching of receipt after compression