fix bug with actions in GUI