fix bug when a key begin with "rem" like "remote" it was ignored