fix get type searching