bugfixes in removeshortcuts script