more liberal datatype handling for loader