fixing second error