avoid some issues try except