fixed  coding error in previous commit