fix browser send key but server does have key issue