add test for  prop
fix
wrap  in try-catch