fixes end objective