fix for makeCorridor call without this