removed log except for error