fixed a problem in the auto prot output