Pettycashes bug fix