fixed redirection issues in flat table reports