tunning for better exception process