add right and bottom getter

change some method