fixes samples

Fixes #31