fix warning in carpositoncontroll