enable layer support