Fix error pdf bill generated