fixed samples compilation