fixed element map with 2 matrix
add some test