AdaptiveControl: fixed a possible null pointer dereferencing