fix ticket #932