finish types.h
change the error part