remove duplicated assignment