fixed output of keywords and numbers