Fixes multiple session in edit-server module