also fixed for offlinefragment

Forgot about it the last time. Yep here is the pull request for the offlinefragment.