fixed custom widgets getting added when not in fields
adding back lines that got deleted