finally made the new server working. client still checking the enum what
causes errors