fix parent viewcontroller freezing bug