fixed error in typcase, working on lca bugs