Fix catch_trial problem