clean up button definition.