fix setter define bug