fix for issue #144 (continued)