fix some bug and modify slider