fixed bugs during dynamic fields creation