fetch size from property of target if still not found

Sometimes the size is present on the target but is missed leading to the function returning null