fix loadTypes with only 1 argument