refine the code of picProcessFragment