Fix bug with mirrors in the first column
Fix bug with placeholders at end of line