fixed formatting issue, hacked solution to empty result set