I am sorry, I copy wrong code, actually my code is "==" instead of "=", but it still not work completely.