Refresh bug

Automatic refresh bug resolved