incorrect drawtype option checking