fix gettype

Change-Id: Ie5078497bac49c8c2df0d63b2acad907dfd2a69c