a few fixed for intelli-plug
removed unneeded line