test type and minor fix