change the line and box format