fixes #75;

resolves a constant invalid operation exception as well