fixed minor typo optimization