changed next to top

fix #245