fixes #249