fixes #248