fixed invoice fetching, fixed some table styles