detecting finish errors