fixing issue with window actions