layers order fix