second try at fixing ascii()