this fixes #302 via #231