virtual layers fixes