next try to fix bug in slider