fixes #166, references #156