[Core] Optimization usng a try catch it's better, more speed for few
reasons.