add rights methods
add map util test