Fixed bug inside generic form view