fixed logParser not working properly