fixes #906 -