fix bug in get, change routes