Inside the class, do not use setter to set value, simply use assign(`contestId = null`).