fix exmample to work