refine key controls