fixed readlog