hide button depending typology