Fix TIME type by adding toInt()
Remove debug stuff from auto type