This fixes #1 about refreshing