modify loading native module