validation of session key bug fix