fixed id in session serialization