fix replace call for 6+ arguments to call