fixes #278