fixing ERR