fixed previous mistake