issue #277 fixed