Pass correct function name to checkType

Change-Id: Ib221c3195c0826610c9d3c470a4923ccf54f90e9