Solving some issues for form