fix err introduced in previous commit