test fixed
layer index added