#27 first part of fix for tmuxp freeze indexError