fix sampling event header, button and layout