fixed bug with type listing