fixing json error and adding a slide