fixed a typo, slight cleanup