bug fixing in serialisation