fixed issue with slider