fixed old error log