fix earlier mistake & remove unnecessary logging