Solved an redirect issue on create