move a catch clause to top