fix in folia lib: abstractlayer serialisation failed