fix index bug and reduce footer