[repair] and [add test]