fix warnings in intelli_plug.c