invoice printing - bug fix

move where hideloading is in case of error.