fix bug and add slide