This is almost the same problem as I reported in tickets #42 and #56