fix some error in prior commit