Correct call of settype