Some know code errors fixed

Some errors (maybe know generated by owners?) fixed, ltm.c original code
added instead of ltm.h code