fix fenced code