resend data on refresh solved