fix code excerpts