Fix bug when questions is nil