fixes for intelli_plug