fixed keytracking issue