refine form register class