refine buttons and revisions