fixed an error in sed command for keyboard