fixes all error in all_tests