fixed small bugs. add invoice printing feature