fixed bug that i caused with refreshing stuff