Fix for refreshing whole page