fixed a bug introduced as I moved the actions out of the window