fixes #383