fixed spec files and examples