Fixed assign error