Prevent possible exception