handle the fragment mappimg solution