Fixed typo in session code