modify rectangleInterface and mapTv