Main.c upgrade. Parse of HTML not working