Solve assignment redirect error