fixing error that had crept in