code reformatiing and seek failed try

code reformatiing and seek failed try