bug fixes for submitting the expense