switched 2 lines, fixed invoice saving doing so