fixed loadLayer -> createLayer