layers fix