this fixes #297

this fixes #297