fixed LOG calls