fixed bug when parsing log file client side