map embedded resources
clean up embedded mapping