avoid exception on deadkeys