some fixes, refreshing the page works again