solves #383
fixes #383