Fix hot keys setup code