bugfix for endless loop in createForm and some implementing stuff