fixed resume and index