Fixed bug causing conflict with TEC plugin