rewrite lofox