fixed some validations
Merge pull request #5 from lauyeung/questions-session

fixed some validations