Fix facttable for report

fixes #440