mapped file bug fix.