fixed server logic

Constructor on elementData now behaves properly.