fixed: error for unnamed layers
examples updated