Fix multi-line mode