fixing refresh and JSONpromise