Remove misplaced log()