Modified the pid controller to redirect to fastidtag in case of pid code