writebox fix