fixed key listening issue