repaired errors and fails