Fix python control status.

[merge]