fix bug in map size
show path length