mapping file bug fix