fix offline fragment

Also fixed the offline fragment url thingy. Send the wrong pull request before.