correct the error the comes up on the first run