fixed previous error