issue 817 polylines works again

@gitnik  @aesnyder @cthrax @kandizzy @zacronos 
polylines works again