fixing key control for firefox