fixed checks for allowed questions. fix #156