do not show button if not needed