Fixing type
Fixing a refresh issue 2