for saving
fixed the bug and change the css of index