support adaptmapping fix #31