[FIX] fix null error for external obj injection