fix order active bug