refine bean validation