Fix TIME type