fix bug in expense.js