move map an reference to monosnap

Signed-off-by: Wang Xu <gnawux@gmail.com>