fix bug with offsets, disappearing refresh view