small fixes of layer actions