CON-1809 | Fix overlapping of anchored element

what is the reason behind declaring undefined variable and setting in value in another line ?