cleans up results view