on newsession create new endpoint fix to -available-