Fixed error that output an empty report