change types processing in listeners/handlers