Bug fix so passing in extent isn't broken