fixed log spamming