cover cases in #layer