bug fix key pad mapping