fixed error in bills controller