made assertions use the correct data type