Uppercase type
Fixed missing err
Convert 't' to string