Issue 277

fixes #277