fix invalid assignment syntax