fix errors of plans type showing