fix a mistake in calling mappages()
fork(): ugly, but works. :-)