fixed #271. report itself needs testing. this will be hooked up with #215