Fixed log error.