fixed layer missing error