fixing behavior when user press reload