fix code render layout