Removing weird key commands