fixed #1 , change map type