fix bug reported by furntree