Rename wrong type name
Add some logs