Update mapper.php

fix #50