fix direct load with extension