fix for no layer extent given