trigger lazy initialization define layout for mac