fixed the 1-key-macro bug