add a debug to catch optimized lib