Fixed duplicate console messages