avoid null rule
add exception handling guid