fixed error in slide