optimization ran after console error fix
fixed all identical console object error