Fixed error in log