Cold starting

Yes it set with fast idle cam engaged. It works right when I work the throttle by hand but when I use the pedal it doesn't work properly I I going to look at the carpeting and make sure that the pedal goes all the way down to the floor