fixing error (second edit for pull rq)

fixing error