delete unused 'global' cases
formatting