fixes #286