fixed issue #374

fixed issue #374 opened by me