Fix statusline crash
Merge pull request #161 from pavel-belikov/statusline_segfault_fix

Fix statusline crash