what do you mean by adding a wait(1)? where do you want me to add it? also, c_setminmax didnt fix the problem