fix validate session