fixing render form issue