fixed setPoint(..) method.