Fix redirect after wrong import