fixes samples
Merge pull request #32 from folieadrien/refactor

fixes samples