getType syntax fix