fixing redirect after creation