fix decode session creation