update some error message and the default type of GT