fix view and diff for normalized output