fix offset exists