At last found settings to stop tmux acting weird