try to dig out the bug that could miss record inserted with lcd_stats.php

try to dig out the bug that could miss record inserted with lcd_stats.php

Signed-off-by: Ray Allen <ray@ray-Lenovo-IdeaPad-S400.(none)>