fix refreshing coords