fix homepage Key handler