fix another problem with sublayer