fix shortcuts flaw

Signed-off-by:  <st9fan@gmail.com>
(cherry picked from commit 631922e6676e63c6c68cb8964f3d7d73c4c5e629)
Signed-off-by: Stefan Nussbaumer <st9fan@gmail.com>