Fixing redirect after add a code lot