tidied keyup again