attempt on fixing slide issues