make hidden names layers optional