fix error
create partials and clean up index