fix notebox serialisation