make code samples not completely broken