fixed too many logs