better clickability and typeability logic