fixing small issue when handling empty good sections