attempt to fix nil createdCapsl