fix redirect after edit