prevents error with get of none object ?