do not trigger keyLocation warning (fixes #1731)