fixes #277