simple/unoptimized fix issue #229