fixed receipt as PDF bug