Kia sportage 2011

Step on gas, RPM goes up but no acceleration, at times can not get over 35mph. On even terrain with cruise engaged speed will drop and then rev back up. This only happens occasionally. Have been back to the dealer X3 but with no engine codes fired they can’t locate the problem. Safety concerns of not being able to maintain speeds on interstates and county roads.