quickfix for issue #1461

Fixes #1461.
whooops :D