fixed conditionals insidte insert slider.