fixed referredBy key
added better log filtering