fix arguments in validate session