fixed chk_cap to exclude smallcase o