invoice pdf bug