fix the codes block