Crash correction and bug testing