fixed erroneous deletion of code

fixed erroneous deletion of code