some refine for test