fixed bug in availability of question check