fixed bugs that arose after changing the position of the textfield for creating new labels