fixed some bugs on adding new receipt