fixed invalid HTML when using simple view button