fixes for the new nodejs server