Fix crash with blank line