fixing paths on sample code