fixed refresh behavior

was deactivated for some reason but seems to work