Fixed bug when determining generic type