Fix managed check.