Trying to clean up pseudoclosures.  I know there is a bug in here but do not have the time to fix it now. :( :( :(