Fix checkusm type checking