fix #9 simplify mapconvertor