fix typelearn return and frustration