Fixed crashes in FWML